<?php
namespace app\admin\controller;

use app\common\controller\Back;

class Logout extends Back
{
    public function index()
    {
        model('common/User','loglic')->logout();
        
        $this->success('您已经安全退出','admin/login/index');
    }
}